/**
 * 
 */
package travibot.meta.dao;

import java.util.List;

import travibot.meta.MaterialType;
import travibot.utility.DescriptionNotFoundException;


/**
 * @author tajzivit
 *
 */
public interface MaterialTypeDAO {

    MaterialType getMaterialType(String name) throws DescriptionNotFoundException;
    
    MaterialType getMaterialType(int id) throws DescriptionNotFoundException;
    
    List<MaterialType> getMaterialTypes();
    
    void insertMaterialType(MaterialType type);
    
    void deleteMaterialType(MaterialType type);
}
